//预览图片封装
	var packmages = function(index,imagespack){
		return new Promise((resolve,reject)=>{
			uni.previewImage({
				current	:index,
				urls: imagespack,
				longPressActions: {
					itemList: ['发送给朋友', '保存图片', '收藏']
				}
			}).then(res=>{
				resolve(res)
			}).catch(err=>{
				reject(err)
			})
		})
	}
	
	export default packmages;